package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfCourseCategoryDao;
import com.wfcm.entity.WfCourseCategoryEntity;
import com.wfcm.service.WfCourseCategoryService;



@Service("wfCourseCategoryService")
public class WfCourseCategoryServiceImpl implements WfCourseCategoryService {
	@Autowired
	private WfCourseCategoryDao wfCourseCategoryDao;
	
	@Override
	public WfCourseCategoryEntity queryObject(Integer id){
		return wfCourseCategoryDao.queryObject(id);
	}
	
	@Override
	public List<WfCourseCategoryEntity> queryList(Map<String, Object> map){
		return wfCourseCategoryDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfCourseCategoryDao.queryTotal(map);
	}
	
	@Override
	public void save(WfCourseCategoryEntity wfCourseCategory){
		wfCourseCategoryDao.save(wfCourseCategory);
	}
	
	@Override
	public void update(WfCourseCategoryEntity wfCourseCategory){
		wfCourseCategoryDao.update(wfCourseCategory);
	}
	
	@Override
	public void delete(Integer id){
		wfCourseCategoryDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfCourseCategoryDao.deleteBatch(ids);
	}
	
}
